package com.zhi.mbtibot.entity;

import com.baomidou.mybatisplus.annotation.OrderBy;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * 功能:
 * 作者:YukiSu
 * 日期:2024/7/16 21:46
 */
@Data
@Component
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("message")
public class Message implements Serializable {
    private Integer uid;
    @OrderBy(asc = true, sort = 1)
    private Integer no;
    private String role;
    private String content;
    //private
}